package com.teatrace.model.pack;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="packing_flow")
public class PackingFlow {

	@Id
	@Column(name="packing_flow_id")
	private  String packingFlowId;//packing_flow_id
	
	@Column(name="goods_name")
	private String goodsName;//获得的产品
	
	@Column(name="goods_specification")
	private String goodsSpecification;//产品规格
	
	private String description;
	
	//@ManyToOne
	//@JoinColumn(name="goods_type_id")
	//private GoodsType goodsType;//商品类别
	@Column(name="goods_type_id")
	private int GoodsTypeId;
	
	public String getPackingFlowId() {
		return packingFlowId;
	}
	
	public String getDescription() {
		return description;
	}
	public void setPackingFlowId(String packingFlowId) {
		this.packingFlowId = packingFlowId;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	public void setGoodsSpecification(String goodsSpecification) {
		this.goodsSpecification = goodsSpecification;
	}

	public String getGoodsSpecification() {
		return goodsSpecification;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public int getGoodsTypeId() {
		return GoodsTypeId;
	}

	public void setGoodsTypeId(int goodsTypeId) {
		GoodsTypeId = goodsTypeId;
	}

	/*public void setGoodsType(GoodsType goodsType) {
		this.goodsType = goodsType;
	}

	public GoodsType getGoodsType() {
		return goodsType;
	}*/
	
}
